﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Search_Accessories.ascx.cs" Inherits="cbmobile.MasterUser.UC_Page.Search_Accessories" %>
<asp:EntityDataSource ID="EntityDataSourceAccessories" runat="server" 
    ConnectionString="name=CBMobileEntities" 
    DefaultContainerName="CBMobileEntities" EnableFlattening="False" 
    EntitySetName="PhuKiens" Select="it.[HinhAnh], it.[Ten_PhuKien], it.[Gia]">
</asp:EntityDataSource>

<asp:DataList ID="DataList1" runat="server" RepeatColumns="5" HorizontalAlign="Center"
    DataSourceID="EntityDataSourceAccessories">
    <ItemTemplate>
    <asp:Table ID="TabSP" runat="server">
                    <asp:TableRow ID="TabSP_Row" runat="server">
                        <asp:TableCell ID="TabSP_Cell" runat="server" HorizontalAlign="Center">
                            <div class="SpWrap">
                            <div class="SpWrapOuter">
                    	    <div class="SpWrapInner">
                                <div class="SpTit">
                                    <span>
                                        <a href="">
                                            Sản Phẩm
                                        </a>
                                    </span>
                                </div>
                                <div class="SpImg">
                                    <span>
                                        <a href="" title="">
                                            <asp:Image ID="ImgSP" runat="server" Height="120px" ImageUrl='<%# "~/ImagesSP/" + Eval("HinhAnh") %>' />
                                            
                                        </a>
                                    </span>
                                </div>
                		    </div>
                            <div class="SpName">
                                <span>
                            	    <a href="">
                                	    <asp:Label ID="Ten_PhuKienLabel" runat="server" Text='<%# Eval("Ten_PhuKien") %>' />
                            	    </a>
                                </span>
                            </div>
                            <div class="orange b">
                        	    <p>
                                    <span>TT:</span>
                                    <asp:Label ID="GiaLabel" runat="server" Text='<%# Eval("Gia") %>' />
                                    <span>Đ</span>
                                </p>
                            </div>
                	    </div> 
                </div>
                        </asp:TableCell></asp:TableRow></asp:Table></ItemTemplate></asp:DataList>